home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 028a / am70.zip / PROGMENU.DOC < prev    next >
Text File  |  1991-04-04  |  4KB  |  69 lines

  1.  
  2.   INSTRUCTIONS FOR USE OF THE NEW EXECUTABLE PROGRAM MENU VIA CTRL-X
  3.  
  4.   10-14-90  -  Incorporated into AM 5.3
  5.  
  6.   A new feature in AM is the ability to create and utilize executable
  7. program menus.  This feature is activated by Ctrl-X and is based upon
  8. the existence of an ASCII text file created by the user named
  9. PROGMENU.AM.  Note:  Ctrl-X formerly refreshed the current window.  Use
  10. of the "*" key will accomplish the same thing.
  11.  
  12.   Use any text editor (QEDIT is recommended) to create PROGMENU.AM.
  13. This file must be formatted as described below.  Note that in the
  14. examples provided, that upper and lower case are used for clarity
  15. and the actual file line data may be in either case.
  16.  
  17.   Comments are denoted by the semicolin (";").  AM will ignore the
  18. semicolon and all following text in any line in which it appears.  The
  19. first non-comment item on any line must be the program name.  It may or
  20. may not include the executable extension of .BAT, .COM, or .EXE.
  21.  
  22.   Two other items may appear on a given line in the file.  To force AM
  23. to change to a specified drive:\directory path prior to executing the
  24. selected program, use the switch "-d" followed immediately by the FULL
  25. DOS path name.  An example is the line "klondike -dE:\UTILS\MYGAMES",
  26. which will cause AM to switch to the directory E:\UTILS\MYGAMES before
  27. executing the program KLONDIKE.  A semi-permanent command parameter that
  28. will be passed to the target program is denoted by the "-p" switch.  An
  29. example is the line "QEDIT -pMYTEXT.FIL", which will cause AM to pass
  30. the command line parameter string of "MYTEXT.FIL" to QEDIT when it is
  31. executed.  Any line in the file may contain either/or the "-d" and the
  32. "-p" switches, but the "-d" switch MUST follow the program name and
  33. MUST precede the "-p" switch if both are used on the same line.  An
  34. example is "QEDIT -dC:\TEXT -pMYFILE.TXT, which would change to
  35. C:\TEXT and execute QEDIT, passing it MYFILE.TXT.
  36.  
  37.   Command line parameters may be added dynamically by the user just
  38. prior to running the selected program by pressing Ctrl-Enter instead of
  39. Enter.  This will bring up a window that prompts for a command line
  40. parameter string that will be passed to the target program when
  41. executed.  Note that the user entered parameter string will
  42. automatically override any "-p" switch string in the file.  If no "-p"
  43. switch is active for the selected program, AM will automatically enter
  44. the file path name for the file under the cursor in the left window. The
  45. Esc key aborts from this window with no action and since the window
  46. shows both the semi-permanent parameter string and directory to change
  47. to (if any), this window can be used to check the status of any menu
  48. item.
  49.  
  50.   Up to one hundred progam definition lines are supported.  Note that
  51. menu flexibility is enhanced by the capability to have the same program
  52. file name on multiple lines in PROGMENU.AM, each with different "-d"
  53. and/or "-p" switches.
  54.  
  55.   An example PROGMENU.AM file is included in this package.  Use it for
  56. an example and modify it for your own menu list.
  57.  
  58.   When Ctrl-X is pressed, AM will first look in the current directory
  59. (left window) for PROGMENU.AM and load it if found.  If not found there,
  60. AM will search the DOS path and load it if found.  If not found, nothing
  61. happens.  This strategy permits maintaining numerous variants of
  62. PROGMENU.AM in different directories as well as maintaining one master
  63. copy in one directory in the DOS path.
  64.  
  65.   Note that AM automatically uses its swap to EMS/Disk capability when
  66. executing programs in order to maximize the amount of RAM available to
  67. the target program.
  68.  
  69.